package com.erp.erp_entitys.business.rsp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : CarryDetailProductRsp
 * @Description : 出运明细产品表出参实体
 * @Author : lst
 * @Date: 2020-06-28 15:27
 */
public class CarryDetailProductRsp implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = -4535675900768803653L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 规格编号
     */
    private String specNo;

    /**
     * 产品中文名称
     */
    private String productCName;

    /**
     * 产品英文名称
     */
    private String productEName;

    /**
     * 产品中文描述
     */
    private String productCDesc;

    /**
     * 产品英文描述
     */
    private String productEDesc;

    /**
     * 产品数量
     */
    private BigDecimal productNum;

    /**
     * 剩余数量
     */
    private BigDecimal lastAmount;

    /**
     * 产品单位
     */
    private String productUnit;

    /**
     * 规格说明
     */
    private String productSpecExplanation;

    /**
     * 颜色
     */
    private String color;

    /**
     * 箱数
     */
    private BigDecimal boxAmount;

    /**
     * 每箱数
     */
    private BigDecimal everyBoxAmount;

    /**
     * 毛重
     */
    private BigDecimal grossWeight;

    /**
     * 毛重小计
     */
    private BigDecimal grossWeightSubtotal;

    /**
     * 净重
     */
    private BigDecimal netWeight;

    /**
     * 净重小计
     */
    private BigDecimal netWeightSubtotal;

    /**
     * 体积
     */
    private BigDecimal bulk;

    /**
     * 体积小计
     */
    private BigDecimal bulkSubtotal;

    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;

    /**
     * 总托盘
     */
    private BigDecimal totalTray;

    /**
     * 采购合同号码
     */
    private String contractPurchaseNumber;

    /**
     * 入库单号
     */
    private String warehouseReceiptNumber;

    /**
     * 产品条码
     */
    private String productBarcode;

    /**
     * 配件成本
     */
    private BigDecimal accessoriesCost;

    /**
     * 成品成本
     */
    private BigDecimal finishedProductCost;

    /**
     * 外币单价
     */
    private BigDecimal FCUnitPrice;

    /**
     * 仓库编码
     */
    private String warehouseId;

    /**
     * 采购单号
     */
    private String purchaseNo;

    /**
     * 采购id
     */
    private Integer purchaseId;

    /**
     * 出运发票号
     */
    private String carryInvoiceNo;

    /**
     * 销售合同号
     */
    private String saleContractNo;

    /**
     * 产品类型(1:成品 2:配件 3:料件)
     */
    private Integer productType;


    public BigDecimal getFCUnitPrice() {
        return FCUnitPrice;
    }

    public void setFCUnitPrice(BigDecimal FCUnitPrice) {
        this.FCUnitPrice = FCUnitPrice;
    }

    public String getSaleContractNo() {
        return saleContractNo;
    }

    public void setSaleContractNo(String saleContractNo) {
        this.saleContractNo = saleContractNo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecNo() {
        return specNo;
    }

    public void setSpecNo(String specNo) {
        this.specNo = specNo;
    }

    public String getProductCName() {
        return productCName;
    }

    public void setProductCName(String productCName) {
        this.productCName = productCName;
    }

    public String getProductEName() {
        return productEName;
    }

    public void setProductEName(String productEName) {
        this.productEName = productEName;
    }

    public String getProductCDesc() {
        return productCDesc;
    }

    public void setProductCDesc(String productCDesc) {
        this.productCDesc = productCDesc;
    }

    public String getProductEDesc() {
        return productEDesc;
    }

    public void setProductEDesc(String productEDesc) {
        this.productEDesc = productEDesc;
    }

    public BigDecimal getProductNum() {
        return productNum;
    }

    public void setProductNum(BigDecimal productNum) {
        this.productNum = productNum;
    }

    public BigDecimal getLastAmount() {
        return lastAmount;
    }

    public void setLastAmount(BigDecimal lastAmount) {
        this.lastAmount = lastAmount;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public String getProductSpecExplanation() {
        return productSpecExplanation;
    }

    public void setProductSpecExplanation(String productSpecExplanation) {
        this.productSpecExplanation = productSpecExplanation;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public BigDecimal getBoxAmount() {
        return boxAmount;
    }

    public void setBoxAmount(BigDecimal boxAmount) {
        this.boxAmount = boxAmount;
    }

    public BigDecimal getEveryBoxAmount() {
        return everyBoxAmount;
    }

    public void setEveryBoxAmount(BigDecimal everyBoxAmount) {
        this.everyBoxAmount = everyBoxAmount;
    }

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public BigDecimal getGrossWeightSubtotal() {
        return grossWeightSubtotal;
    }

    public void setGrossWeightSubtotal(BigDecimal grossWeightSubtotal) {
        this.grossWeightSubtotal = grossWeightSubtotal;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public BigDecimal getNetWeightSubtotal() {
        return netWeightSubtotal;
    }

    public void setNetWeightSubtotal(BigDecimal netWeightSubtotal) {
        this.netWeightSubtotal = netWeightSubtotal;
    }

    public BigDecimal getBulk() {
        return bulk;
    }

    public void setBulk(BigDecimal bulk) {
        this.bulk = bulk;
    }

    public BigDecimal getBulkSubtotal() {
        return bulkSubtotal;
    }

    public void setBulkSubtotal(BigDecimal bulkSubtotal) {
        this.bulkSubtotal = bulkSubtotal;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public String getContractPurchaseNumber() {
        return contractPurchaseNumber;
    }

    public void setContractPurchaseNumber(String contractPurchaseNumber) {
        this.contractPurchaseNumber = contractPurchaseNumber;
    }

    public String getWarehouseReceiptNumber() {
        return warehouseReceiptNumber;
    }

    public void setWarehouseReceiptNumber(String warehouseReceiptNumber) {
        this.warehouseReceiptNumber = warehouseReceiptNumber;
    }

    public String getProductBarcode() {
        return productBarcode;
    }

    public void setProductBarcode(String productBarcode) {
        this.productBarcode = productBarcode;
    }

    public BigDecimal getAccessoriesCost() {
        return accessoriesCost;
    }

    public void setAccessoriesCost(BigDecimal accessoriesCost) {
        this.accessoriesCost = accessoriesCost;
    }

    public BigDecimal getFinishedProductCost() {
        return finishedProductCost;
    }

    public void setFinishedProductCost(BigDecimal finishedProductCost) {
        this.finishedProductCost = finishedProductCost;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public Integer getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }

    public String getCarryInvoiceNo() {
        return carryInvoiceNo;
    }

    public void setCarryInvoiceNo(String carryInvoiceNo) {
        this.carryInvoiceNo = carryInvoiceNo;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CarryDetailProductRsp").append('[')
                .append("id=")
                .append(id)
                .append(",productId=")
                .append(productId)
                .append(",productCode=")
                .append(productCode)
                .append(",specNo=")
                .append(specNo)
                .append(",productCName=")
                .append(productCName)
                .append(",productEName=")
                .append(productEName)
                .append(",productCDesc=")
                .append(productCDesc)
                .append(",productEDesc=")
                .append(productEDesc)
                .append(",productNum=")
                .append(productNum)
                .append(",lastAmount=")
                .append(lastAmount)
                .append(",productUnit=")
                .append(productUnit)
                .append(",productSpecExplanation=")
                .append(productSpecExplanation)
                .append(",color=")
                .append(color)
                .append(",boxAmount=")
                .append(boxAmount)
                .append(",everyBoxAmount=")
                .append(everyBoxAmount)
                .append(",grossWeight=")
                .append(grossWeight)
                .append(",grossWeightSubtotal=")
                .append(grossWeightSubtotal)
                .append(",netWeight=")
                .append(netWeight)
                .append(",netWeightSubtotal=")
                .append(netWeightSubtotal)
                .append(",bulk=")
                .append(bulk)
                .append(",bulkSubtotal=")
                .append(bulkSubtotal)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(",contractPurchaseNumber=")
                .append(contractPurchaseNumber)
                .append(",warehouseReceiptNumber=")
                .append(warehouseReceiptNumber)
                .append(",productBarcode=")
                .append(productBarcode)
                .append(",accessoriesCost=")
                .append(accessoriesCost)
                .append(",finishedProductCost=")
                .append(finishedProductCost)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",purchaseId=")
                .append(purchaseId)
                .append(",carryInvoiceNo=")
                .append(carryInvoiceNo)
                .append(",saleContractNo=")
                .append(saleContractNo)
                .append(",productType=")
                .append(productType)
                .append(']');
        return sb.toString();
    }
}
